package com.learning.jquizenglish.model;

public class ProfileItemModel {

	public int resIcon = -1;
	public String lblDisplay1;
	public String lblDisplay2;
	public RowType rowType = RowType.NONE;
	public ProfileAction action = ProfileAction.NONE;
	
	public ProfileItemModel(int _resIcon,String _lblDisplay1,String _lblDisplay2,RowType _type,ProfileAction _action){
		this.resIcon = _resIcon;
		this.lblDisplay1 = _lblDisplay1;
		this.lblDisplay2 = _lblDisplay2;
		this.rowType = _type;
		this.action = _action;
	}
	
	public ProfileItemModel(String _lblDisplay1,String _lblDisplay2,RowType _type,ProfileAction _action){
		this(-1,_lblDisplay1,_lblDisplay2,_type,_action);
	}
	
	public ProfileItemModel(String _lblDisplay1,RowType _type,ProfileAction _action){
		this(-1,_lblDisplay1,"",_type,_action);
	}

	public enum RowType{
		NONE,
		AVATAR,
		HEADER,
		USER_INFO,
		USER_ACTIVITY
	}
	
	public enum ProfileAction{
		NONE,
		EDIT_USER_NAME,
		EDIT_COUNTRY,
		EDIT_ABOUT,
		START_ACTIVITY
	}
}
